<?php

class DoController extends AbstractController
{

    // http://xxxxxxxxxx/index.php/do
    public function indexAction() {
        echo 'do';
    }

    // http://xxxxxxxxxx/index.php/do/insert?data=1
    public function insertAction() {
        print_r($this->getRequest()->get('data'));
        print_r($this->getRequest()->getPost('data'));
        echo 'insert';
    }

}